PRISM

Benchmark
Model:resource-gathering v.2 (MDP)
Parameter(s)B = 1300, GOLD_TO_COLLECT = 100, GEM_TO_COLLECT = 100
Property:prgoldgem (prob-reach-step-bounded)
Invocation (default)
../fix-syntax ../prism -javamaxmem 11g -cuddmaxmem 4g -heuristic speed -e 1e-6 -maxiters 1000000 resource-gathering.pm resource-gathering.prctl --property prgoldgem -const B=1300,GOLD_TO_COLLECT=100,GEM_TO_COLLECT=100
Execution
Walltime:10.505173206329346s
Return code:0
Relative Error:5.727704752942418e-15
Log
PRISM
=====

Version: 4.5.dev
Date: Fri Feb 26 16:14:09 CET 2021
Hostname: christopher
Memory limits: cudd=4g, java(heap)=11g
Command line: prism -javamaxmem 11g -cuddmaxmem 4g -heuristic speed -e 1e-6 -maxiters 1000000 resource-gathering.pm_fixed resource-gathering.prctl_fixed --property prgoldgem -const 'B=1300,GOLD_TO_COLLECT=100,GEM_TO_COLLECT=100'

Parsing model file "resource-gathering.pm_fixed"...

Type:        MDP
Modules:     robot goldcounter gemcounter 
Variables:   gold gem attacked x y required_gold required_gem 

Parsing properties file "resource-gathering.prctl_fixed"...

3 properties:
(1) "expgold": R{"rew_gold"}max=? [ C<=B ]
(2) "expsteps": R{"time_reward"}min=? [ F "success" ]
(3) "prgoldgem": Pmax=? [ F<=B "success" ]

---------------------------------------------------------------------

Model checking: "prgoldgem": Pmax=? [ F<=B "success" ]
Model constants: GOLD_TO_COLLECT=100,GEM_TO_COLLECT=100,B=1300

Warning: Switching to sparse engine and (backwards) Gauss Seidel (default for heuristic=speed).

Building model...
Model constants: GOLD_TO_COLLECT=100,GEM_TO_COLLECT=100,B=1300

Computing reachable states...

Reachability (BFS): 1215 iterations in 0.47 seconds (average 0.000390, setup 0.00)

Time for model construction: 0.499 seconds.

Type:        MDP
States:      958894 (1 initial)
Transitions: 3325526
Choices:     3080702

Transition matrix: 898 nodes (4 terminal), 3325526 minterms, vars: 23r/23c/4nd

Prob0A: 1203 iterations in 0.74 seconds (average 0.000615, setup 0.00)

yes = 94, no = 0, maybe = 958800

Computing probabilities...
Engine: Sparse

Building sparse matrix... [n=958894, nc=3080400, nnz=3325200, k=4] [41.9 MB]
Creating vector for yes... [7.3 MB]
Allocating iteration vectors... [2 x 7.3 MB]
TOTAL: [63.9 MB]

Starting iterations...
Iteration 755 (of 1300): 5.00 sec so far

Iterative method: 1300 iterations in 8.89 seconds (average 0.006620, setup 0.29)

Value in the initial state: 0.6630608525241822

Time for model checking: 9.669 seconds.

Result: 0.6630608525241822 (value in the initial state)


Overall running time: 10.399 seconds.

---------------------------------------------------------------------

Note: There was 1 warning during computation.